Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.theme.nuxeo.webapp--flavors

This contribution is part of XML component org.nuxeo.theme.nuxeo.webapp inside nuxeo-platform-webapp-core-2021.48.10.jar /OSGI-INF/theme-contrib.xml

Extension Point

Extension point flavors of component service.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <flavor name="default">
          <label>label.theme.flavor.nuxeo.default</label>
          <logo>
            <path>/img/nuxeo_logo.png</path>
            <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
            <width>113</width>
            <height>20</height>
            <title>Nuxeo</title>
          </logo>
          <links>
            <icon name="icon">/icons/favicon.png</icon>
            <icon name="shortcut icon">/icons/favicon.ico</icon>
          </links>
          <presetsList>
            <presets category="border" src="themes/palettes/default-borders.properties"/>
            <presets category="background" src="themes/palettes/default-backgrounds.properties"/>
            <presets category="font" src="themes/palettes/default-fonts.properties"/>
            <presets category="color" src="themes/palettes/default-colors.properties"/>
          </presetsList>
          <palettePreview>
            <colors>
              <color>#17384e</color>
              <color>#00adff</color>
              <color>#00adff</color>
              <color>#00adff</color>
              <color>#fff</color>
              <color>#00adff</color>
              <color>#404040</color>
              <color>#cfecff</color>
              <color>#e6f1ff</color>
            </colors>
          </palettePreview>
          <sass>
            <import src="themes/palettes/common_variables.scss"/>
            <import src="themes/palettes/default_variables.scss"/>
          </sass>
        </flavor>
  • <flavor name="rainbow">
          <label>label.theme.flavor.nuxeo.rainbow</label>
          <logo>
            <path>/img/nuxeo_logo.png</path>
            <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
            <width>113</width>
            <height>20</height>
            <title>Nuxeo</title>
          </logo>
          <links>
            <icon name="icon">/icons/favicon.png</icon>
            <icon name="shortcut icon">/icons/favicon.ico</icon>
          </links>
          <presetsList append="true">
            <presets category="border" src="themes/palettes/rainbow-borders.properties"/>
            <presets category="background" src="themes/palettes/rainbow-backgrounds.properties"/>
            <presets category="font" src="themes/palettes/rainbow-fonts.properties"/>
            <presets category="color" src="themes/palettes/rainbow-colors.properties"/>
          </presetsList>
          <palettePreview>
            <colors>
              <color>#595ca1</color>
              <color>#bdd4ef</color>
              <color>#4095ff</color>
              <color>#da4f70</color>
              <color>#41b6ab</color>
              <color>#b34f94</color>
              <color>#332e2e</color>
              <color>#cfffd1</color>
              <color>#feffe6</color>
            </colors>
          </palettePreview>
          <sass>
            <import src="themes/palettes/common_variables.scss"/>
            <import src="themes/palettes/alternative_variables.scss"/>
          </sass>
        </flavor>

XML Source

<extension point="flavors" target="org.nuxeo.theme.styling.service">

    <flavor name="default">
      <label>label.theme.flavor.nuxeo.default</label>
      <logo>
        <path>/img/nuxeo_logo.png</path>
        <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
        <width>113</width>
        <height>20</height>
        <title>Nuxeo</title>
      </logo>
      <links>
        <icon name="icon">/icons/favicon.png</icon>
        <icon name="shortcut icon">/icons/favicon.ico</icon>
      </links>
      <presetsList>
        <presets category="border" src="themes/palettes/default-borders.properties"/>
        <presets category="background" src="themes/palettes/default-backgrounds.properties"/>
        <presets category="font" src="themes/palettes/default-fonts.properties"/>
        <presets category="color" src="themes/palettes/default-colors.properties"/>
      </presetsList>
      <palettePreview>
        <colors>
          <color>#17384e</color>
          <color>#00adff</color>
          <color>#00adff</color>
          <color>#00adff</color>
          <color>#fff</color>
          <color>#00adff</color>
          <color>#404040</color>
          <color>#cfecff</color>
          <color>#e6f1ff</color>
        </colors>
      </palettePreview>
      <sass>
        <import src="themes/palettes/common_variables.scss"/>
        <import src="themes/palettes/default_variables.scss"/>
      </sass>
    </flavor>

    <flavor name="rainbow">
      <label>label.theme.flavor.nuxeo.rainbow</label>
      <logo>
        <path>/img/nuxeo_logo.png</path>
        <previewPath>/img/nuxeo_preview_logo_black.png</previewPath>
        <width>113</width>
        <height>20</height>
        <title>Nuxeo</title>
      </logo>
      <links>
        <icon name="icon">/icons/favicon.png</icon>
        <icon name="shortcut icon">/icons/favicon.ico</icon>
      </links>
      <presetsList append="true">
        <presets category="border" src="themes/palettes/rainbow-borders.properties"/>
        <presets category="background" src="themes/palettes/rainbow-backgrounds.properties"/>
        <presets category="font" src="themes/palettes/rainbow-fonts.properties"/>
        <presets category="color" src="themes/palettes/rainbow-colors.properties"/>
      </presetsList>
      <palettePreview>
        <colors>
          <color>#595ca1</color>
          <color>#bdd4ef</color>
          <color>#4095ff</color>
          <color>#da4f70</color>
          <color>#41b6ab</color>
          <color>#b34f94</color>
          <color>#332e2e</color>
          <color>#cfffd1</color>
          <color>#feffe6</color>
        </colors>
      </palettePreview>
      <sass>
        <import src="themes/palettes/common_variables.scss"/>
        <import src="themes/palettes/alternative_variables.scss"/>
      </sass>
    </flavor>

  </extension>